import { request } from '@umijs/max';
export async function createTeamUser(form) {
    return request('/team-user/create',{
        method: 'POST',
        data: form,
        headers: {
            'Content-Type': 'application/json',
          },
    })
}
export async function paginationQueryTeamUser(data) {
    return request('/team-user/page-query/list',{
        method: 'POST',
        data: data,
        headers: {
            'Content-Type': 'application/json',
          },
    })
}
export async function updateTeamUser(form) {
    return request('/team-user/update',{
        method: 'POST',
        data: form,
        headers: {
            'Content-Type': 'application/json',
          },
    })
}
export async function batchDeleteTeamUser(form) {
    return request('/team-user/batch/delete',{
        method: 'POST',
        data: form,
        headers: {
            'Content-Type': 'application/json',
          },
    })
}
export async function queryOwnTeamDetailInfo(){
    return request('/team-user/query/own-team/detail-info',{
        method: 'GET'
    })
}